<div class="modeldetail nomenu">
	<?php if(!empty($model['media'])){?>
    <div id="featured">
        <div class="container">
        <?php foreach($model['media'] as $key=>$img){?>
          <div class="slide <?php if($key == 0){?>active<?php }?>">
              <img src="<?=$img?>" alt='<?=$model['modelname']?>' width='500' height='335' />
                <div class="additional">
                    <a class="prevslide" href="#">Previous</a> 
                    <a class="nextslide" href="#">Next</a> 
                    <a class="featured-zoom fancybox" href="<?=$img?>" rel="featured">Zoom In</a>
                </div>
          </div>
        <?php }?>
        </div>
    </div>
    <?php }?>
    <div class="infowrapper">
	    <div class="modelinfo">
	        <div class="info">姓<span class="title_middle"></span>名：<?=$model['modelname']?></div>
	        <div class="info">别<span class="title_middle"></span>名：<?=$model['nickname']?></div>
	        <div class="info">国<span class="title_middle"></span>籍：<?=$model['country']?></div>
	        <div class="info">类<span class="title_middle"></span>型：<?=Model_Model::getModelStyleName($model['style'])?></div>
	        <div class="info">身<span class="title_middle"></span>高：<?=$model['height']?></div>
	        <div class="info">胸<span class="title_middle"></span>围：<?=$model['bust']?></div>
	        <div class="info">腰<span class="title_middle"></span>围：<?=$model['waist']?></div>
	        <div class="info">臀<span class="title_middle"></span>围：<?=$model['hip']?></div>
	        <div class="info">鞋<span class="title_middle"></span>码：<?=$model['shoescode']?></div>
	        <?php if(Model_User::getLevelID() == 5 || Model_User::getLevelID() == 2){?>
	        <div class="info"><span class="company">母公司：</span><?=$model['company']?></div>
	        <?php }?>
	        <div class="info">
	            在京时间：<?=Model_Common::getFormatTimeYMD($model['beijingstart'])?>
	            至
	            <?=Model_Common::getFormatTimeYMD($model['beijingend'])?>
	        </div>
	        <?php if($model['illstart'] != 0 && $model['illend'] != 0){?>
	        <div class="info">
	            休假时间：<?=Model_Common::getFormatTimeYMD($model['illstart'])?>
	            至
	            <?=Model_Common::getFormatTimeYMD($model['illend'])?>
	        </div>
	        <div class="info">
	        	<span class="floatleft">休假信息：</span>
	        	<textarea class="multtextreadonly illinfo" readonly="readonly"><?=$model['illinfo']?></textarea>
	        </div>
	        <?php }?>   
	    </div>
	    <div class="worklist">
	    	<?php foreach ($works as $work){?>
	    	<div class="info">
	    		<span><?=$work['flg']?>日期:<?=$work['starttime']?>至 <?=$work['endtime']?>&nbsp;&nbsp;时间:<?=$work['starthour']?>至<?=$work['endhour']?></span>
	    		<span>&nbsp;&nbsp;&nbsp;&nbsp;<a target="_blank" href="http://<?=HOST?>/work/detail/workid/<?=$work['workid']?>">查看</a></span>
	    	</div>
	    	<?php }?>
	    </div> 
	    <div class="operate">
	        	<input class="btn btn_add btn_input return" type="button" onclick="window.location.href='<?=$ref?>'" value="返 回">
	        	<?php if(Model_User::getLevelID() == 2 || Model_User::getLevelID() == 5){?>
	                <input class="btn btn_add btn_input modify" type="button" onclick="window.location.href='http://<?=HOST?>/model/modify/modelid/<?=$model['modelid']?>'" value="编辑模特">
	        	<?php }?>
	    </div> 
	    <div style="clear:both;"></div> 
    </div>
</div>